home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 114 / CDRom114.iso / internet / extens / dband / Bandwidth Tester.xpi / chrome / bandwidthtest.jar / content / tester_dialog.xul < prev    next >
Encoding:
Extensible Markup Language  |  2004-09-09  |  3.0 KB  |  73 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  3.  
  4. <window id="BandwidthTestDialog" orient="vertical"
  5.         title="Bandwidth Tester" width="640" height="360" persist="width height"
  6.         onload="bandwidthtest_init();"
  7.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  8.     
  9.     <script type="application/x-javascript" src="chrome://bandwidthtest/content/autoupdate.js"></script>
  10.     <script type="application/x-javascript" src="chrome://bandwidthtest/content/tester.js"></script>
  11.     
  12.     <vbox flex="1" style="overflow: auto;">
  13.         <spacer height="5" width="1" />
  14.         <vbox style="padding: 3px; background: #FFF; border: #000 solid; border-width: 1px 0;">
  15.             <description style="font-size: .95em;">
  16.                 Results may be affected by other internet applications running or if you're located outside the United States.
  17.             </description>
  18.             <description style="font-size: .95em;">
  19.                 For best results, do not use the internet while running the test.
  20.             </description>
  21.         </vbox>
  22.         <spacer height="5" />
  23.         <hbox align="left" pack="center">
  24.             <menulist id="connection-list" value="none" persist="value" >
  25.                 <menupopup>
  26.                     <menuitem value="-1" label="- Connection -" />
  27.                     <menuitem value="0" label="Dial-Up" />
  28.                     <menuitem value="1" label="DSL/Cable" />
  29.                     <menuitem value="3" label="T1 or greator" />
  30.                 </menupopup>
  31.             </menulist>
  32.             <button id="test-button" label="Run Test" style="width: 8em;" oncommand="bandwidthtest_runTest(0)" image="chrome://bandwidthtest/content/icons/go.png" flex="0" />
  33.             <progressmeter id="test-progress" mode="determined" style="display:none; margin: 5px 10px 0 3px;" flex="2" />
  34.         </hbox>
  35.         
  36.         <spacer height="7" width="1" />
  37.         
  38.         <hbox>
  39.             <label value="Results:" />
  40.             <label value="" id="results-field" style="font-weight: bold;" />
  41.         </hbox>
  42.         <vbox id="details">
  43.             <tree id="log-tree" flex="2" rows="5" onselect="bandwidthtest_showError(this);" hidecolumnpicker="true">
  44.                 <treecols>
  45.                     <treecol label="Description" id="desc-col" flex="5" fixed="false" primary="true" />
  46.                     <splitter class="tree-splitter" />
  47.                     <treecol label="Size" id="size-col" flex="2" fixed="false" primary="true" />
  48.                     <splitter class="tree-splitter" />
  49.                     <treecol label="Time" id="time-col" flex="1" fixed="false" />
  50.                 </treecols>
  51.                 <treechildren id="log-items">
  52.                 </treechildren>
  53.             </tree>
  54.             
  55.             <groupbox height="50" max-height="70">
  56.                 <caption label="Error"/>
  57.                 <label class="header" id="error-title" value="" style="margin-bottom: 3px;" />
  58.                 <description id="error-desc" flex="1" max-width="100%">
  59.                 </description>
  60.             </groupbox>
  61.         </vbox>
  62.     </vbox>
  63.     
  64.     <spacer height="15" width="1" />
  65.  
  66.     <hbox>
  67.            <hbox pack="center" align="center" flex="2">
  68.             <button label="Options" oncommand="tinyurl_options()" style="margin-left: 15px; width: 7em;" image="chrome://bandwidthtest/content/icons/options.png" />
  69.             <button label="Close" oncommand="self.close();" image="chrome://bandwidthtest/content/icons/close.png" />
  70.         </hbox>
  71.         <resizer id="windowResizer" dir="bottomright" />
  72.     </hbox>
  73. </window>